package month5.day5;

import java.io.Serializable;
import java.util.Scanner;

public class Text implements Serializable {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        Zhanghao z = new Zhanghao();
        z.start();
        while (true) {
            System.out.println("输入用户名和密码");
            String name = in.next();
            System.out.println("输入密码");
            String mima = in.next();
            if (z.panduna(name, mima))
                System.out.println("welcome");
            break;
        }
        z.interrupt();
    }


}
